﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MazeDrawer
{
   
    class Decal
    {
        private int posX,           // Position on the X axis
                    posY,           // Position on the Y axis
                    desX,           // Destination on the X axis
                    desY,           // Destination on the Y axis
                    ttl;            // Time To Live - when ttl reaches 0, this decal should be destroyed
        private string label;
        public Decal(string label, int x, int y)
        {
            this.posX = x;
            this.posY = y;
            this.desX = x;
            this.desY = y + 30;
            this.label = label;
            this.ttl = 100;
        }
        public Decal(string label, int x, int y, int desx, int desy)
        {
            
        }

        public int GetPosX() { return posX; }
        public int GetPosY() { return posY; }
        public int GetDesX() { return desX; }
        public int GetDesY() { return desY; }
        public string GetLabel() 
        {
            // The only purpose of this thing is to be rendered some number of times, then disappear
            posY--;
            ttl--;
            return label; 
        }

        public int GetTtl() 
        {
            return ttl; 
        }

    }
}
